Skip to content

1.38 fixed#504

Draft
ovadiagal wants to merge 1 commit intoenvoyproxy:mainfrom
ovadiagal:go/version-1.38-fixed
Draft

1.38 fixed#504
ovadiagal wants to merge 1 commit intoenvoyproxy:mainfrom
ovadiagal:go/version-1.38-fixed

Conversation

@ovadiagal
Copy link
Copy Markdown
Contributor

Govadia/my publishing

Govadia/my publishing
Comment thread tools/update-sha.sh
Comment on lines 27 to 30

CURL_OUTPUT=$(curl -s "https://raw.githubusercontent.com/envoyproxy/envoy/$ENVOY_VERSION/api/bazel/repository_locations.bzl")
LOCATIONS=$(curl -s "https://raw.githubusercontent.com/envoyproxy/envoy/$ENVOY_VERSION/api/bazel/repository_locations.bzl")
DEPS_YAML=$(curl -s "https://raw.githubusercontent.com/envoyproxy/envoy/$ENVOY_VERSION/api/bazel/deps.yaml")

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As part of envoyproxy/envoy#43048, dependency metadata (release_date, project_name, etc.) was moved out of repository_locations.bzl into a separate deps.yaml file. Versions and SHAs remain in repository_locations.bzl.

Comment thread tools/update-sha.sh
Comment on lines 16 to +17
local DEPENDENCY=$2
echo "$CONTENT" | grep "$DEPENDENCY" -A 11 | grep -m 1 "release_date =" | awk '{ print $3 }' | tr -d '"' | tr -d ","
echo "$CONTENT" | grep "$DEPENDENCY" -A 5 | grep -m 1 "release_date:" | awk '{ print $2 }' | tr -d '"'
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adjusted to account for the new format of deps.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant